package com.codeerror.demo.bean;

import org.litepal.crud.LitePalSupport;

/**
 * 每一项待办
 */
public class TodoBean extends CardBean {
    private long time; // 该todo所属的list时间
    private long startTime, endTime;
    private long remindTime; // 提醒时间
    private int isAchieved;
    private String detail;

    public TodoBean(String name, long time, long startTime, long endTime, long remindTime) {
        this.name = name;
        this.time = time;
        this.startTime = startTime;
        this.endTime = endTime;
        this.remindTime = remindTime;
    }

    public void setIsAchieved(int isAchieved) {
        this.isAchieved = isAchieved;
    }

    public long getStartTime() {
        return startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getDetail() {
        return detail;
    }

    public int getIsAchieved() {
        return isAchieved;
    }
}
